package com.zb.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Author WEN
 * @Date 2023/8/7 0007
 **/
@Data
@ApiModel("企业冻结对象")
public class CustomerFreezeVo {
    @NotNull(message = "企业ID不能为空")
    @Size(min = 1, message = "至少选择一个企业")
    @ApiModelProperty(value = "企业ID集合", required = true)
    private List<Long> idList;

    @NotBlank(message = "备注说明不能为空")
    @Length(max = 500, message = "备注说明字符长度限制500个以内")
    @ApiModelProperty(value = "备注说明")
    private String remark;

    @ApiModelProperty(value = "附件路径集合")
    private List<String> annexs;
}
